package com.jsyl.lwbk.business.mapper;

import com.jsyl.lwbk.business.domain.ScaleProject;
import com.jsyl.lwbk.business.vo.EvaluateProjectVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ScaleProjectMapper {
    int insert(ScaleProject record);

    ScaleProject selectById(Long id);

    int updateById(ScaleProject record);

    ScaleProject selectScaleByProject(@Param("evaluateProject") Integer evaluateProject, @Param("childTotalScore") Integer childTotalScore);

    ScaleProject selectScaleNumByProject(@Param("evaluateProject") Integer evaluateProject, @Param("childTotalNum") Integer childTotalNum);

    List<EvaluateProjectVO> selectEvaluateProject(@Param("childId") Long childId);

}